﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T.FAS.Runtime.DataAccess.SQLDom
{
    public class FilterField : IField
    {
        public FilterField()
        {

        }

        public FilterField(string field, FieldType fieldType)
        {
            Field = field;
            FieldType = fieldType;
        }

        public FilterField(string field, FieldType fieldType,string groupName)
        {
            Field = field;
            FieldType = fieldType;
            GroupName = groupName;
        }

        public string GroupName { get; set; }

        /// <summary>
        /// 列或元素标识，FieldType.Column:物理表列名。FieldType.Element:CompositeNodeObjectElement.ID
        /// </summary>
        public string Field { get; set; }        

        public FieldType FieldType { get; set; }

        public string CompositeNodeObjectID { get; set; }
    }
}
